package com.lyf.boot.core.model;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author Luyufan
 * @date 2024/1/11 09:40
 **/
@Data
public class LoginBody implements Serializable {

    @Serial
    private static final long serialVersionUID = 2348272433186051418L;

    @NotBlank(message = "客户端编码不能为空")
    private String clientCode;

    /**
     * 授权类型
     */
    @NotBlank(message = "授权方式不能为空")
    private String grantType;

    /**
     * 验证码
     */
    private String code;

    /**
     * 唯一标识
     */
    private String uuid;
}
